
pkgname=ipw2200-fw
pkgver=3.1
pkgrel=8
pkgdesc="Firmware for the Intel PRO/Wireless 2200BG"
arch=('x86_64')
url='http://ipw2200.sourceforge.net/'
license=('custom')
source=("http://mirrors.slackware.com/slackware/slackware-current/source/n/$pkgname/$pkgname-$pkgver.tar.xz")
md5sums=('7066e4cf1d94c319c53dfb2603edb757')

package() {
  cd "${srcdir}/ipw2200-fw-${pkgver}"
  # Install firmware
  for i in ipw*.fw; do
    install -D -m 644 $i "${pkgdir}/usr/lib/firmware/$i"
  done
  # Install license
  install -D -m 644 LICENSE.ipw2200-fw "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
